package test.gps;

import android.os.Bundle;
import android.app.Activity;
import android.content.Intent;
import android.view.Menu;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.EditText;
import android.widget.ListView;
import android.widget.TextView;

public class TXTActivity extends Activity {
	public TextView Back;
	private FileHelper helper;
	public TextView Tittle;
	public EditText TXT;

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.txt);
		Back = (TextView) findViewById(R.id.textViewback2);
		Tittle = (TextView) findViewById(R.id.textViewtxt);
		TXT = (EditText) findViewById(R.id.nmeatxt);
		helper = new FileHelper(getApplicationContext());
		Intent intent1 = getIntent();
		String text = intent1.getStringExtra("txtname");
		Tittle.setText(text);
//		TXT.setText(helper.readSDFile(text));

		Back.setOnClickListener(new OnClickListener() {
			@Override
			public void onClick(View v) {
				finish();
			}
		});

	}

}
